package com.xbjtech.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xbjtech.mapper.PermissionMapper;
import com.xbjtech.model.Permission;

@Service
public class PermissionService {

	@Autowired
	PermissionMapper permissionMapper;
	
	public List<Permission> selectPermissionsByUserId(Long id) {
		return permissionMapper.selectPermissionsByUserId(id);
	}
	
}
